﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;

namespace Cryptography_0912089_0912100
{
    public abstract class AsymmetricCrytopher : CryptoHelper
    {
        protected MD5 _md5 = MD5CryptoServiceProvider.Create();

        public virtual string GeneratePrivateKey(string keyContainerName)
        {
            return null;
        }

        public virtual string GeneratePublicKey(string keyContainerName)
        {
            return null;
        }

        public virtual void GeneratePrivateKey(string keyContainerName, string keyFileOutput)
        {
        }

        public virtual void GeneratePublicKey(string keyContainerName, string keyFileOutput)
        {
        }

        public virtual string GenerateDigitalSignature(string fileData, string fileKeyPair)
        {
            return null;
        }

        public virtual bool VerifyDigitalSignature(string fileOriginalData, string fileSign, string fileKeyPair)
        {
            return false;
        }
    }
}
